package Day02;

public class Recentange  extends Shape {

    private int width;

    private int length;

    public Recentange(int width, int length) {
        this.width = width;
        this.length = length;
    }

    public Integer Perimeter(){
        return (width + length) * 2;
    }

    public Integer Area(){
        return width * length;
    }
}
